package me.softwareengineer.guice.rendering.listener;

import java.util.Map;

import me.softwareengineer.guice.rendering.domain.DOM;

/**
 * Triggered when a new {@link DOM} tree is created.
 * 
 * <pre>
 * This class is thread-safe and immutable.
 * </pre>
 * 
 * @author yadtahir
 * @since 1.0
 * @see EndDocumentEvent
 */
public class StartDocumentEvent extends Event implements StartElementEvent {

	/**
	 * Creates a start document event 
	 * @param properties the properties of the element 
	 * @param metadata the metadata of the element
	 */
	public StartDocumentEvent(Map<String, String> properties,
			Map<String, Object> metadata) {
		super(properties, metadata);
		
	}
	
}
